package com.cnswhy.cloud.server.core.service.impl;


import com.cnswhy.cloud.server.common.entity.enumeration.TransType;
import com.cnswhy.cloud.server.common.entity.enumeration.WalletType;
import com.cnswhy.cloud.server.core.dao.CustomerWalletMapper;
import com.cnswhy.cloud.server.core.entity.CustomerWallet;
import com.cnswhy.cloud.server.core.service.CustomerWalletService;
import com.cnswhy.cloud.common.core.base.service.SuperServiceImpl;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 业务实现类
 * 
 * </p>
 *
 * @author cnswhy
 * @date 2020-10-14
 */
@Slf4j
@Service

public class CustomerWalletServiceImpl extends SuperServiceImpl<CustomerWalletMapper, CustomerWallet> implements CustomerWalletService {
    @Override
    public Long getSumBalanceByWalletType(WalletType walletType) {
        return baseMapper.getSumBalanceByWalletType(walletType);
    }
}
